package main

import (
	"admissionsystem/models"
	"admissionsystem/pkg/setting"
	"admissionsystem/routers"
	"fmt"
)

func main() {
	setting.Setup()
	models.Setup()
	endPoint := fmt.Sprintf(":%d", setting.ServerSetting.HttpPort)
	r := routers.InitRouter()
	r.Run(endPoint)
}
